package com.lcp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("exercise_records")
public class ExerciseRecord {
    @TableId(type = IdType.AUTO)
    private Long id;

    private Long userId;

    private String exerciseType;

    private String exerciseName;

    private Integer duration;

    private String intensity;

    private Integer calories;

    private String location;

    private String weather;

    private String feeling;

    private String notes;

    private LocalDateTime exerciseTime;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;
} 